package com.eastedu.superise.handler.question.handler;

import com.eastedu.common.model.question.QuestionItemContent;

import java.util.List;

/**
 * 内容解析
 *
 * @param <R> the type parameter
 * @author Administrator
 */
public interface ContentParser<R> {

    /**
     * 解析
     *
     * @param questionId the question id
     * @param contents   the stem
     * @return the r
     */
    R parse(Long questionId, List<QuestionItemContent> contents);

    /**
     * Print.
     */
    void print();
}
